package cn.da.shuai.cool.finance.service;

import cn.da.shuai.cool.finance.model.CoolFinancialAnalytics;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface ICoolFinancialAnalyticsService extends IService<CoolFinancialAnalytics> {
    void generateMonthlyAnalytics(Integer fiscalYear, Integer fiscalMonth);
    void generateQuarterlyAnalytics(Integer fiscalYear, Integer fiscalQuarter);
    void generateYearlyAnalytics(Integer fiscalYear);
    List<CoolFinancialAnalytics> getAnalyticsByDepartment(Long departmentId, Integer fiscalYear);
    List<CoolFinancialAnalytics> getAnalyticsByPeriod(Integer fiscalYear, Integer fiscalMonth);
    Map<String, Object> getDashboardMetrics(Integer fiscalYear);
    Map<String, Object> getTrendAnalysis(Integer fiscalYear, String metricName);
}